﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

Field1: <input type="text" id="field1" value="Hello World!">
 <br />
 Field2: <input type="text" id="field2">
 <br /><br />
 Click the button below to copy the content of Field1 to Field2.
 <br />
 <button onclick="alert('abc')">Copy Text</button>
 <%--<button onclick="document.getElementById('field2').value=
 document.getElementById('field1').value">Copy Text</button>--%>
 

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
